<%--
  Created by IntelliJ IDEA.
  User: Sssller
  Date: 2021/1/21
  Time: 21:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>无标题文档</title>
</head>

<body>
<form action="" method="post">
    <table width="100%" border="1">
        <tr>
            <td colspan="2" align="center"><pre>TbUserFromId修改</pre></td>
        </tr>
        <tr>
            <td width="39%"><p>用户ID</p></td>
            <td width="61%"><label for="userId"></label>
                <input type="text" name="userId" id="userId" value="${id.userId}" ></td>
            <input type="hidden" name="hiddenField" id="hiddenField" value="${id.id}"></td>
        </tr>
        <tr>
            <td>小程序推送formid</td>
            <td><label for="formId"></label>
                <input type="text" name="formId" id="formId" value="${id.formId}"></td>
        </tr>
        <tr>
            <td>来源</td>
            <td><input type="radio" name="source" id="source" value="1" <c:if test="${id.source==1}">checked</c:if>>
                <label for="source">步数
                    <input type="radio" name="source" id="source2" value="2" <c:if test="${id.source==2}">checked</c:if>>
                    首页
                    <input type="radio" name="source" id="source3" value="3" <c:if test="${id.source==3}">checked</c:if>>
                </label>
                拦截
                <input type="radio" name="source" id="source4" value="4" <c:if test="${id.source==4}">checked</c:if>>
                <label for="source4"></label>
                兑换
                <input type="radio" name="source" id="source5" value="5" <c:if test="${id.source==5}">checked</c:if>>
                <label for="source5"></label>
                不足
                <input type="radio" name="source" id="source6" value="6" <c:if test="${id.source==6}">checked</c:if>>
                <label for="source6"></label>
                引导
                <input type="radio" name="source" id="source7" value="7" <c:if test="${id.source==7}">checked</c:if>>
                <label for="source7"></label>
                健康
                <input type="radio" name="source" id="source8" value="8" <c:if test="${id.source==8}">checked</c:if>>
                <label for="source8"></label>
                首页弹窗</td>
        </tr>
        <tr>
            <td>使用状态</td>
            <td><input type="radio" name="status" id="status" value="1" <c:if test="${id.status==1}">checked</c:if>>
                <label for="status"></label>
                未使用
                <input type="radio" name="status" id="status2" value="2" <c:if test="${id.status==2}">checked</c:if>>
                <label for="status2"></label>
                已使用</td>
        </tr>
        <tr>
            <td>创建时间</td>
            <fmt:formatDate value="${id.createTime}" pattern="YYYY-MM-DD" var="c"></fmt:formatDate>
            <td><label for="createTime"></label>
                <input type="text" name="createTime" id="createTime"  value="${c}"></td>
        </tr>
        <tr>
            <td>修改时间</td>
            <fmt:formatDate value="${id.updateTime}" pattern="YYYY-MM-DD" var="c"></fmt:formatDate>
            <td><label for="updateTime"></label>
                <input type="text" name="updateTime" id="updateTime" value="${c}"></td>
        </tr>
        <tr>
            <td colspan="2" align="center"><input type="submit" name="button" id="button" value="插入提交">
                <input type="reset" name="button2" id="button2" value="重置"></td>
        </tr>
    </table>
</form>
</body>
</html>